package edu.jiangxuan.up.spi.impl;

import edu.jiangxuan.up.spi.Logger;

/**
 * Log4jLogger - Log4j日志实现
 * 这是SPI机制的服务提供者实现之一
 */
public class Log4jLogger implements Logger {
    
    @Override
    public void info(String msg) {
        System.out.println("[Log4j] INFO: " + msg);
    }

    @Override
    public void debug(String msg) {
        System.out.println("[Log4j] DEBUG: " + msg);
    }
}
